<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 200px;
            height: 200px;
            background-color: red;
            margin: 100px auto;
        }
    </style>
</head>

<body>
    <div></div>
    <script>
        for (let i = 0; i <= 10; i++) {
            console.log(0)
        }
        let a = 10;
        let b = 20;

        let div = document.querySelector("div")
        div.onclick = function () {
            console.log(123)
        }

        let one = 100;
        let two = 200;


    </script>
</body>

</html>